home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: OS features
- Date: 24 Jan 1996 03:04:13 +0100
- Organization: dis-
- Message-ID: <4e442t$4ve@serpens.rhein.de>
- References: <4aj1tc$39r@candelo.dpie.gov.au> <13213430@sourcery.han.de> <wfblanDL60p0.D0y@netcom.com> <1058.6591T492T1743@cycor.ca> <DLnqBB.DuD@focus-systems.on.ca>
- NNTP-Posting-Host: serpens.rhein.de
-
- wayne@focus-systems.on.ca (Wayne Fisher) writes:
-
- >I don't understan this line of thinking. With a MMU, you can add
- >memory protection and virtual memory (not including paging to disk)
- >with a minimal amount of overhead to the system.
-
- No, you can't.
-
- >We're only talking
- >single digit percentages here.
-
- We are talking 10-100% depending on the system function.
-
- >although that is a natural extension to it. By virtual memory, I mean
- >giving all programs a contiguous address space independant of other
- >programs.
-
- This breaks 99% of all programs.
-
- >Neither of these features affects the realtime nature of the machine.
-
- You bet... It affects speed.
-
- > - protect code from writes.
-
- That's no problem.
-
- > - protect unallocated memory from any accesses.
-
- MMU granularity forbids this. You cannot trap accesses to partially
- allocated pages.
-
- > - protect any ROMs from writes.
-
- That's code and hardly matters. But protecting all the I/O addresses
- would help.
-
- > - new programs' code and data would be protected from access by another
- > process unless explicitly allowed by the program.
-
- Kills close to all system functions. You had to write a completely new
- AmigaOS.
-
- > - option to kill offending process or simply log the offence.
-
- Pretty difficult. It requires some conventions on how to allocate resources.
-
- >"much more"? I don't think a few percentages is "much more".
-
- You forget that memory protection is nothing if you cannot protect
- the system from invalid parameters to system functions. Most system
- functions however use shared data structures.
-
- >And I
- >don't see how it's going to change the whole concept of the Amiga.
-
- Close to everything in the system would have to be changed from using
- shared data to anonymous handles. Each handle has to be checked for
- validity.
-
- The whole concept of device drivers had to be changed.
- BOOPSI is dead.
- System hooks are dead.
-
- >It
- >just means that you can't pass pointers between processes and the
- >machine becomes more stable.
-
- Unfortunately most parameters are passed by pointers. You do have
- to change everything.
-
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-